// #ifdef MP-WEIXIN
const accountInfo = wx.getAccountInfoSync()
export const envVersion = accountInfo.miniProgram.envVersion || 'develop'
const baseUrl = 'https://api.kuaipaoya.cn/api/app/' // 测试环境
if (envVersion === 'develop' || envVersion === 'trial') {
  baseUrl = 'http://119.91.216.71:8088/api/app/' // 测试环境
} else {
  baseUrl = 'https://api.kuaipaoya.cn/api/app/' // 正式环境
}
console.log(baseUrl.includes('http://119.91.216.71:8088') ? '是测试环境' : '不是测试环境', 'baseUrl.includes(http://119.91.216.71:8088)')
console.log('envVersion查看是什么版本------------->', envVersion)
console.log('baseUrl查看是什么版本------------->', baseUrl)
// #endif
// #ifdef H5
// export const envVersion = 'develop'
// #endif
// export const baseUrl = 'https://api.kuaipaoya.cn/api/app/' // 测试环境
export { baseUrl } // 测试环境
// export const baseUrl = process.env.NODE_ENV === 'production' ? '' : 'https://hr.xtdy.tech/'

// export const imgVersion = '?1.6.0' //击穿图片缓存
// export const svgUrl = `${baseUrl}/static/svgicons/`
// export const cosBucket = ''
// export const cosRegion = ''
// export const cosUrl = `https://${cosBucket}.cos.${cosRegion}.myqcloud.com`
// export const cosDir = 'res'
// export const cdnUrl = `${cosUrl}/xxx`
// export const ossUrl = ''
// export const svgIcon = `${ossUrl}/xxx/svgicons`
// export const imgUrl = `${ossUrl}/xxx/imgs`
